home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 013a / fontsdj.zip / FONTINFO.DOC < prev    next >
Text File  |  1990-01-31  |  10KB  |  373 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                     FONTINFO
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                          "Display soft font information"
  26.  
  27.  
  28.  
  29.  
  30.  
  31.                     Copyright 1988 - 1990 by Elfring Soft Fonts
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.                                Elfring Soft Fonts
  39.                                    P.O. Box 61
  40.                              Wasco, Illinois  60183
  41.                                   708-377-3520
  42.                                    (9 - 5 CST)
  43.  
  44.  
  45.  
  46.                                 CIS: 72417,3437
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                             FONTINFO Program
  67.  
  68.  
  69.  
  70.  
  71.  
  72.                                   INTRODUCTION
  73.  
  74.         Ever wanted to check out the characteristics of that public do-
  75.         main font you just downloaded?  Or perhaps you need to know the 
  76.         basics on a fixed width font.  Maybe someone misnamed one of your 
  77.         fonts.
  78.  
  79.         Well... FONTINFO was designed to do all that and more.  FONTINFO 
  80.         will display, (in English, not gibberish), all the basic charac-
  81.         teristics of a font.  This includes: the display font name, font 
  82.         orientation, font height - style - & weight, the number of char-
  83.         acters in the font, its symbol set, spacing, type face, base line,
  84.         cell height & width, print quality, and beginning/ending codes.
  85.         In addition, FONTINFO indicates whether a font is for a LaserJet or
  86.         a DeskJet printer.  (Neither will work in the other.)
  87.  
  88.                                RUNNING THE PROGRAM
  89.  
  90.         As with all my LaserJet & DeskJet utilities, you can always type the 
  91.         program name by itself for a help screen.  FONTINFO is quite simple 
  92.         and needs only a single argument to run.  Just give it the name 
  93.         of the font to examine and FONTINFO will print out a detailed 
  94.         description of the font.
  95.  
  96.  
  97.         fontinfo fontname
  98.  
  99.  
  100.         Will print a detailed table of that font's characteristics on the 
  101.         screen.  You can send this information to the printer for a per-
  102.         manent record by using:
  103.  
  104.  
  105.         fontinfo fontname > prn
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.                                    1
  125.  
  126.  
  127.  
  128.                             FONTINFO Program
  129.  
  130.  
  131.         At this point an example might help.  For example to look at my 
  132.         Broadway font:
  133.  
  134.         fontinfo bw140rpn.usp
  135.  
  136.         The program will respond with the following information:
  137.  
  138.  
  139.         Copyright 1988 by Elfring Soft Fonts, Version 1.1
  140.  
  141.         Font name:     Broadway     -LaserJet font
  142.         Orientation:   portrait
  143.         Height:        14.0 points
  144.         Style:         Upright
  145.         Weight:        0 (normal)
  146.         # Characters:  94 (ASCII)
  147.         Symbol set:    21 (US ASCII)
  148.         Spacing:       proportional with a  2.65 point space
  149.         Type face:     21 (Broadway)
  150.         Baseline: 47,  Cell Height: 64,  Cell Width: 57  (in dots)
  151.         Serif Style:   Sans Serif Square (not set?)
  152.         Print Quality: Data Processing  (not set?)
  153.         First char:    Not set
  154.  
  155.  
  156.         Note that FONTINFO understands all the standard details about 
  157.         type face names, font styles, symbol sets, and font weights.
  158.  
  159.  
  160.                                 FONT INFORMATION
  161.  
  162.         Display Font Name
  163.  
  164.         Just what is the display font name?  If you own a LaserJet series 
  165.         II, this is the name that will be displayed in the font print 
  166.         out.  Note that a number of older HP soft fonts do NOT correctly 
  167.         display their soft font name.  (The example of Cooper Black above 
  168.         one case.)  For most modern soft fonts this should be the name of 
  169.         the font you are using.  Note that the LaserJet II will append 
  170.         the word "bold" or "italic" to this name if the font fits that 
  171.         characteristic.
  172.  
  173.  
  174.         Font Orientation
  175.  
  176.         A font is either oriented in the portrait mode, (characters run 
  177.         left to right across the eight inch width of the paper), or the 
  178.         landscape mode, (characters run left to right across the 11 inch 
  179.         width of the paper.  Note there is no real difference between a 
  180.         portrait and landscape font.  Both produce identical characters.  
  181.         The information in a landscape font is simply arranged different-
  182.         ly.
  183.  
  184.  
  185.  
  186.  
  187.                                    2
  188.  
  189.  
  190.  
  191.                             FONTINFO Program
  192.  
  193.  
  194.         Font Height
  195.  
  196.         This is the height of a font in points.  (72.27 points per inch.)  
  197.         Note that the font height is the distance from the top of an 
  198.         upper case character to the bottom of a lower case character's 
  199.         desender.  Say the top of an "A" to the bottom of a "j".  Thus NO 
  200.         character in the font is that height!  Due to resolution problems 
  201.         in the font height information entry most fonts display as frac-
  202.         tional point sizes: thus a 30 point font might be displayed as 
  203.         29.8 points.
  204.  
  205.  
  206.         Font Style
  207.  
  208.         A font may be either upright or slanted.  A slanted font is usu-
  209.         ally considered to be italic, with some noted exceptions.  
  210.         (Script is a slanted font but is not italic.)  Actually, for the 
  211.         more technically inclined a slanted font is really oblique and 
  212.         not italic but who really cares?
  213.  
  214.  
  215.         Font Weight
  216.  
  217.         Fonts may have weights (how dark they are) ranging from -7 to +7.  
  218.         A weight of 0 is considered medium.  Negative weights are consid-
  219.         ered light, while positive weights are considered bold.  FONTINFO 
  220.         automatically interprets this information for you.
  221.  
  222.  
  223.         Characters in Font
  224.  
  225.         This number describes the range of characters in a font.  A 127 
  226.         indicates that characters may range from 33 - 127.  A 254 font 
  227.         can contain all those characters PLUS characters ranging from 160 
  228.         - 254.
  229.  
  230.  
  231.         Font Symbol Set
  232.  
  233.         The symbol set describes the assignment of characters within a 
  234.         font.  Most soft fonts are either US ASCII or Roman-8.  However, 
  235.         a large number of other symbol sets are possible.  The symbol set 
  236.         number is printed followed by an interpretation of that symbol 
  237.         set.  FONTINFO understands the names of over 17 different symbol 
  238.         sets and will display this information automatically or the word 
  239.         "unknown".
  240.  
  241.  
  242.         Font Spacing
  243.  
  244.         Font spacing may be either fixed width or proportional.  If the 
  245.         font is proportionally spaced FONTINFO will tell you this along 
  246.         with the width of a space character in that font.  If the font is 
  247.         fixed width, FONTINFO will display the number of characters per 
  248.  
  249.  
  250.                                    3
  251.  
  252.  
  253.  
  254.                             FONTINFO Program
  255.  
  256.  
  257.         inch for that file.
  258.  
  259.  
  260.         Type Face
  261.  
  262.         A font may have a type face number ranging from 0 to 255.  Font 
  263.         numbers 0 - 26 have been assigned by HP and will be translated by 
  264.         FONTINFO into their corresponding names.  Other font names will 
  265.         result in the word "unknown" being printed for the font name.
  266.  
  267.  
  268.         Base Line, Cell Height, Cell Width
  269.  
  270.         Each font must define the maximum height of a character, its
  271.         maximum width, and where that character sits in the cell (base
  272.         line).  If you try to combine two different fonts on the same 
  273.         line that have different base lines, even though the fonts are 
  274.         the same size, the result will be disaster.
  275.  
  276.  
  277.          Serif Style
  278.  
  279.          A font may have the serify style defined in it.  Only newer fonts
  280.          have this attribute set.
  281.  
  282.  
  283.          Print Quality
  284.  
  285.          Most new fonts have the print quality set.  This is especially
  286.          true of DeskJet fonts.  Print quality ranges from draft, through 
  287.          near letter quality, to letter quality.  Older LaserJet fonts will
  288.          probably indicate draft quality here.  (It doesn't matter for a
  289.          laser printer.)
  290.  
  291.  
  292.          First character, Last Character
  293.  
  294.          Defines the first character in a font and the last character.
  295.          Since a font doesn't have to have all characters in it this is 
  296.          a handy way to see what's what.
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.                                       4
  313.  
  314.  
  315.                                     WARRANTY
  316.  
  317.         This utility is provided free of charge. As such, it has NO war-
  318.         ranty. I bear no responsibility for its function or use. I am
  319.         not liable for consequential or any form of damages due to non-
  320.         performance of this software.
  321.  
  322.  
  323.                                   DISTRIBUTION
  324.  
  325.         This program is provided free of charge to all who are interested 
  326.         in it. It may be freely exchanged as long as no fee is charged 
  327.         for it. Please distribute this package with BOTH this documenta-
  328.         tion file and the executable program. This program and documen-
  329.         tation are copyright 1987 - 1990 by Elfring Soft Fonts. All rights 
  330.         are reserved. Commercial use is STRICTLY prohibited.
  331.  
  332.         For free information on my other inexpensive utilities and download-
  333.         able soft fonts for your DeskJet or LaserJet printer contact:
  334.  
  335.                                 Elfring Soft Fonts
  336.                                    P.O. Box 61
  337.                            Wasco, Illinois  60183-0061
  338.                                   708-377-3520
  339.                                    (9 - 5 CST)
  340.  
  341.                                     01/31/90
  342.  
  343.  
  344.  
  345.  
  346.  
  347.                                 CIS: 72417,3437
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.                                    5
  373.